import service from "../config";

// 绑定学号并抓取
export function bindStudentInfo(data) {
    return service({
        url: "/course/student_info/",
        method: "POST",
        data
    });
}

// 查询绑定记录
export function fetchStudentInfo(params) {
    return service({
        url: "/course/student_info/",
        method: "GET",
        params
    });
}

// 今日/明日课表文本
export function fetchFlagDayCourse(params) {
    return service({
        url: "/course/course_item/get_flag_day_course/",
        method: "GET",
        params
    });
}
